package service;

import model.Category;

import java.util.List;

public interface CategoryService {
    List<Category> findAll();
    Category findtree();
    Category findById(Integer id);

    boolean save(Category category);

    boolean update(Category category);

    int deleteById(Integer id);
    Category tiaojian(Category category);
    String findname(Integer id);
}
